let vm=new Vue({
    el:".container_myBox",
    data:{
        paras:{}
    },
    methods:{
        register:function () {
            axios({
                url:'user/register',
                method:'post',
                data:this.paras
            }).then(response=>{
                if (response.data.flag){
                    alert(response.data.message);
                    location.href="logout"
                } else {
                    alert(response.data.message);
                    this.paras={}
                }
            })
        }
    },
    created:function () {

    }
});